package com.demo.service;

import com.demo.entity.SpFavor;

import java.util.List;

public interface ISpFavorService {
    int deleteByPrimaryKey(Integer id);

    int insert(SpFavor record);

    int insertSelective(SpFavor record);

    SpFavor selectByPrimaryKey(Integer id);

    List<SpFavor> queryByUserId(String userId);

    int updateByPrimaryKeySelective(SpFavor record);

    int updateByPrimaryKey(SpFavor record);
    int deleteByUserIdAndOfferId(SpFavor record);
}